home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr35 / qprn102.zip / SMAN.BAT < prev    next >
DOS Batch File  |  1993-04-25  |  1KB  |  28 lines

  1. @echo off
  2. REM This batch file is for using QWKPRUNE with Session Manager.
  3. REM
  4. REM Copy it to the directory where Session Manager is located.
  5. REM
  6. REM In Session Manager's configuration, change your UN ZIP Spec
  7. REM to "SMAN.BAT" (without the quotes).  Session Manager will
  8. REM find the file and expand the filename to include the full path.
  9. REM
  10. REM Session Manager doesn't accept parameters for the ZIP and UN ZIP
  11. REM programs, so the unpacker has to be entered directly in the batch
  12. REM file.
  13. REM
  14. REM When Session Manager imports replies, they're unpacked into its
  15. REM work directory.  The lines "if exist pruned.flg goto endit" and
  16. REM "echo PRUNED > pruned.flg" prevent QWKPRUNE from being called
  17. REM again in such cases.
  18. REM
  19. REM (4DOS users may replace "if exist [work_dir]\pruned.flg goto endit"
  20. REM with "if %@index[%@upper[%1&],.REP] NE -1 quit", and delete
  21. REM "echo PRUNED > pruned.flg".)
  22. REM
  23. pkunzip %1 %2 %3 %4 %5 %6 %7 %8 %9
  24. if exist pruned.flg goto endit
  25. if exist messages.dat qwkprune /m
  26. echo PRUNED > pruned.flg
  27. :endit
  28.